package com.ruoyi.sampleRecord.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 领样记录对象 gc_sample_record
 *
 * @author ruoyi
 * @date 2025-05-12
 */
@ApiModel
public class SampleRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 委托单id */
    @Excel(name = "委托单id")
    @ApiModelProperty(value = "委托单id")
    private Long commissionId;

    /** 数量 */
    @Excel(name = "数量")
    @ApiModelProperty(value = "数量")
    private String sampleNumber;

    /** 样品id */
    @Excel(name = "样品id")
    @ApiModelProperty(value = "样品id")
    private Long sampleId;

    /** 工程id */
    @Excel(name = "工程id")
    @ApiModelProperty(value = "工程id")
    private Long engineeringId;

    private String chargePerson;

    private String project;

    private String status;

    private String wtNumber;

    private String  number;

    private String engineeringName;

    private String userId;

    private String projectName;

    private String originalNumber;

    public String getProjectName() {
        return projectName;
    }
    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getOriginalNumber() {
        return originalNumber;
    }
    public void setOriginalNumber(String originalNumber) {
        this.originalNumber = originalNumber;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getWtNumber() {
        return wtNumber;
    }

    public void setWtNumber(String wtNumber) {
        this.wtNumber = wtNumber;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number;
    }

    public String getEngineeringName() {
        return engineeringName;
    }

    public void setEngineeringName(String engineeringName) {
        this.engineeringName = engineeringName;
    }

    public String getChargePerson() {
        return chargePerson;
    }

    public void setChargePerson(String chargePerson) {
        this.chargePerson = chargePerson;
    }

    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCommissionId(Long commissionId)
    {
        this.commissionId = commissionId;
    }

    public Long getCommissionId()
    {
        return commissionId;
    }
    public void setSampleNumber(String sampleNumber)
    {
        this.sampleNumber = sampleNumber;
    }

    public String getSampleNumber()
    {
        return sampleNumber;
    }
    public void setSampleId(Long sampleId)
    {
        this.sampleId = sampleId;
    }

    public Long getSampleId()
    {
        return sampleId;
    }
    public void setEngineeringId(Long engineeringId)
    {
        this.engineeringId = engineeringId;
    }

    public Long getEngineeringId()
    {
        return engineeringId;
    }

    private String userName;
    public void setUserName(String userName)
    {
        this.userName = userName;
    }
    public String getUserName()
    {
        return userName;
    }

    /** 检测时间 test_date */
    private String testDate;
    public void setTestDate(String testDate)
    {
        this.testDate = testDate;
    }
    public String getTestDate()
    {
        return testDate;
    }

    private String dataFile;
    public void setDataFile(String dataFile)
    {
        this.dataFile = dataFile;
    }
    public String getDataFile()
    {
        return dataFile;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("commissionId", getCommissionId())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delState", getDelState())
            .append("delUser", getDelUser())
            .append("delType", getDelType())
            .append("delTime", getDelTime())
            .append("createBy", getCreateBy())
            .append("createType", getCreateType())
            .append("updateBy", getUpdateBy())
            .append("updateType", getUpdateType())
            .append("sampleNumber", getSampleNumber())
            .append("sampleId", getSampleId())
            .append("engineeringId", getEngineeringId())
            .toString();
    }
}
